home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / packer / tar / src / stat.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  426b  |  25 lines

  1. #include <libraries/dos.h>
  2.  
  3. struct stat  {
  4.     int    st_mode;
  5.     int    st_dev;
  6.     int    st_ino;
  7.     int    st_size;
  8.     int    st_rdev;
  9.     int    st_gid;
  10.     int    st_uid;
  11.     int    st_mtime;
  12.     int    st_nlink;
  13. /*
  14.  * These last fields are specific to the Amiga
  15.  */
  16.     struct  DateStamp st_date;
  17.     u_long    st_prot;
  18.     char    st_comment[80];      /* header files says last 36 bytes unused */
  19. };
  20.  
  21. #define S_IFREG    01000
  22. #define S_IFDIR    02000
  23. #define S_IFCHR 04000
  24. #define    S_IFMT    07000
  25.